<%@taglib prefix="in" uri="/WEB-INF/TagDescriptor.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Opportunity Review</title>
<in:pHeader incTiny="yes" />
<link rel="stylesheet" type="text/css" href="includes/css/style.css" />
<script type="text/javascript" src="includes/js/review.js"></script>
</head>

<body>
	<div id="winAddNotes" class="easyui-window" title="Additional Notes"
		style="width: 600px; height: 400px"
		data-options="iconCls:'icon-save',modal:true,closed:true">
		<div id="addNotesContent" style="margin-left: 5px; margin-right: 5px;"></div>
	</div>
	<in:form id="ff" style="height: 600px;"
		title="Review Opportunity - Legal">
		<input type="hidden" name="userId" id="userId" value="${userId}" />
		<input type="hidden" name="opportunityId" id="opportunityId"
			value="${opportunityId}" />
		<input type="hidden" name="prjObjId" id="prjObjId" value="${prjObjId}" />
		<input type="hidden" name="assignmentId" id="assignmentId"
			value="${assignmentId}" />
		<div class="easyui-accordion">
			<div title="Details" style="overflow: auto; padding: 5px;">
				<table>
					<in:attr title="Favourable Terms" id="favourableTerms"
						type="textarea" style="height: 120px; width: 400px"></in:attr>
					<in:attr title="Adverse Terms" id="adverseTerms" type="textarea"
						style="height: 120px; width: 400px"></in:attr>
					<in:attr title="Regulatory Requirements" id="regulatoryRequirement"
						type="textarea" style="height: 120px; width: 400px"></in:attr>
					<in:attr title="Additional Notes" id="addNotes" type="addNotes"
						style="height: 120px; width: 400px"></in:attr>
					<input type="hidden" id="hiddenAddNotes" />
				</table>
			</div>
			<div title="Ratings" style="overflow: auto; padding: 5px;">
				<table>
					<in:attr title="Regulatory Requirements" id="regulatoryRating"
						type="p6code" code="Regulatory Requirements" style="width:200px;"
						required="yes"></in:attr>
					<in:attr title="Risk Rating" id="riskRating" type="p6code"
						code="Risk Rating" style="width:200px;" required="yes"></in:attr>
				</table>
			</div>

		</div>
		<div style="text-align: right; padding: 15px">
			<in:btn id="saveBtn" title="Save" onclick="saveReviewData();" />
			&nbsp;&nbsp;
			<in:btn id="ApproveBtn" title="Approve" onclick="approveReview();" />
		</div>
	</in:form>

</body>
</html>
